<template>
  <div class="t1">
     <Main 
     :commentdata ="comment" 
     v-for="(comment,index) in lists" 
     :key="index" />
  </div>
</template>

<script>
import Main from "../components/Comment/Main";
export default {
  components: {
    Main,
  },
  created(){
      this.$axios({
          url:'/post_comment/1'
      }).then(res=>{
          console.log(res.data.data);
          this.lists=res.data.data
      })
  },
  data() {
    return {
      lists:[]
    };
  },
};
</script>

<style lang="less" scoped>
</style>